package cn.sfrog.project.biz.admin.domain;

import cn.sfrog.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;


@Data
@TableName("biz_study_project_member")
public class BizStudyProjectMember extends BaseEntity<BizStudyProjectMember>{

    public static final BizStudyProjectMember DAO = new BizStudyProjectMember();

    private static final long serialVersionUID = 1L;


    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;


    /** 项目id */
    private Long projectId;


    /** 用户id */
    private Long userId;

    /**分配方式【1=按金额 2=按比例】*/
    private String allocation;

    /**分配比例*/
    private BigDecimal distributeScale;

}
